/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package server.process;

import java.util.Comparator;

/**
 *
 * @author USER
 */
public class TopContestComparator implements Comparator<ReportTopContest>{

    public int compare(ReportTopContest o1, ReportTopContest o2) {
        return (-1)*(o1.getTotalmark()-o2.getTotalmark());
    }

}
